package jh.com.jhappbf.model;

import android.os.Parcel;
import android.os.Parcelable;

public class AssayModel implements Parcelable {
    public String assayId; //化验编号
    public String cargoName;//货名
    public String price;//单价
    public String kouZa; //扣杂
    public String kouShui;//扣水
    public String plateNum;//车号
    public String mao;//毛重
    public String pi;//皮重

    public String getPlateNum() {
        return plateNum;
    }

    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }

    public String getMao() {
        return mao;
    }

    public void setMao(String mao) {
        this.mao = mao;
    }

    public String getPi() {
        return pi;
    }

    public void setPi(String pi) {
        this.pi = pi;
    }


    public String getassayId() {
        return assayId;
    }

    public void setassayId(String assayId) {
        this.assayId = assayId;
    }

    public String getCargoName() {
        return cargoName;
    }

    public void setCargoName(String cargoName) {
        this.cargoName = cargoName;
    }

    public String getprice() {
        return price;
    }

    public void setprice(String price) {
        this.price = price;
    }

    public String getkouZa() {
        return kouZa;
    }

    public void setkouZa(String kouZa) {
        this.kouZa = kouZa;
    }

    public String getkoushui() {
        return assayId;
    }

    public void setkoushui(String kouShui) {
        this.kouShui = kouShui;
    }


    public AssayModel() {
    }

    ;

    public AssayModel(Parcel source) {
        assayId = source.readString();
        cargoName = source.readString();
        kouZa = source.readString();
        price = source.readString();
        kouShui = source.readString();
        plateNum = source.readString();
        mao = source.readString();
        pi = source.readString();

    }

    @Override
    public int describeContents() {

        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(assayId);
        dest.writeString(cargoName);
        dest.writeString(kouZa);
        dest.writeString(price);
        dest.writeString(kouShui);
        dest.writeString(plateNum);
        dest.writeString(mao);
        dest.writeString(pi);
    }

    public static final Creator<AssayModel> CREATOR = new Creator<AssayModel>() {

        @Override
        public AssayModel createFromParcel(Parcel source) {
            return new AssayModel(source);
        }

        @Override
        public AssayModel[] newArray(int size) {
            return new AssayModel[size];
        }
    };


}
